package com.yy.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 员工信息分页查询Dto
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "账号信息分页查询Dto")
public class OrderPageQueryDTO implements Serializable {
    @ApiModelProperty("页码")
    private Integer page;
    @ApiModelProperty("每页记录数")
    private Integer pageSize;
    @ApiModelProperty("订单号")
    private String number;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("订单状态")
    private Integer status;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime beginTime;

        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;



}
